<!-- footer 顶部 -->
<div class="footer">
    <div class="wrap footer-con">
        <div class="ta-c c-gray">
            <span class="btm-mr">Copyright &copy; 2015 明源云客 粤ICP备12059233号</span>
            <span class="btm-mr">房地产O2O营销解决方案</span>
        </div>
    </div>
</div>

<!--在线帮助 [[-->
<div class="zixun" id="zixun">
    <a id="js_BizQQWPA"><img class="zixun_img" src="/static_public/images/zixun.png"></a>
    <a class="close_zixun">X</a>
    <span id="maskHelp" class="mask-help"></span>
</div>
<script type="text/javascript">
    seajs.use(["jquery", "/static_public/node_modules/artdialog/src/drag.js", "/static_public/js/jquery.BizQQ"], function ($, drag, bizqq) {
        $(function () {
            $(".close_zixun").click(function () {
                $(".zixun").hide();
            });

            var zixun = document.getElementById('zixun');
            bizqq({aty: '0', a: '0', nameAccount: 4008333870, selector: 'js_BizQQWPA'});
            var dragging = false;
            $("#maskHelp").on('click',function(){
                $('#js_BizQQWPA')[0].click();
            })
            // 拖拽支持
            $(zixun).on(drag.types.start, function (event) {
                event.preventDefault();
                var api = drag.create(zixun, event);
                api.onover = function(){
                    if(!dragging){
                        $("#maskHelp").off('click');
                    }
                    dragging = true;
                };
                api.onend = function(){
                    setTimeout(function(){
                        dragging = false;
                        $("#maskHelp").off('click').on('click',function(){
                            $('#js_BizQQWPA')[0].click();
                        })
                    },200);
                };
            })
        });
    });
</script>
<!--在线帮助 ]]-->
